<div id="blokreg">
    <div id="formreg">
        <ul class="nav nav-pills nav-stacked">
            <li class="active"><a href=""><p align="left">Lupa Password</p></a></li>
        </ul>
        <font color="red">
        <?php echo validation_errors(); ?>
        </font>
        <?php echo form_open('login/resetpass') ?>
        <table class="table table-hover table-bordered">
            <?php foreach ($rows as $row): ?>
                <tr>
                    <td>Email:</td>
                    <td>    

                        <?php echo $row->email ?>
                    </td>
                </tr>
            <?php endforeach ?>
            <tr>
                <td>Password:</td>
                <td><?php echo form_password('password') ?></td>
            </tr>
            <tr>
                <td>Ulang Password:</td>
                <td><?php echo form_password('repeat_password') ?></td>
            </tr>
        </table>
        <?php echo form_hidden('link', $this->uri->segment(3)) ?>
        <?php echo form_hidden('email', $row->email) ?>
        <table class="table table-hover">
            <thead>
                <tr>
                    <td><?php echo form_submit('submit', 'Reset Password', "class='btn'") ?></td>
                </tr></thead>
        </table>
        <?php echo form_close() ?>
    </div>
</div>